package cn.gson.fengboot.model.pojos;

import javax.persistence.*;
import javax.xml.crypto.Data;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Objects;

@Entity
public class Ltousu {
    private int tsId; //投诉ID
    private String tsZhuti; //投诉主题
    private String tsJiedairen; //投诉首问接待人
    private String tsFenglei; //投诉分类
    private String tsMiaosu; //投诉描述
    private Date tsRiqi; //投诉日期
    private String tsHuafeitime; //投诉花费时间
    private String tsJinjichendu; //投诉紧急程度
    private String tsFankui; //客户投诉反馈
    private String tsRen; //投诉人
    private String tsChulijieguo; //投诉处理结果
    private String tsChuliguocheng; //投诉处理过程
    private String tsBeizhu; //投诉备注
    private int tsZt;//投诉状态
    private TfyclientForm clientId; //投诉客户

    //一个客户有多个投诉，多对一
    @ManyToOne
    @JoinColumn(name = "client_id")
    public TfyclientForm getClientId() {
        return clientId;
    }

    public void setClientId(TfyclientForm clientId) {
        this.clientId = clientId;
    }

    @Id
    @Column(name = "ts_id")
    public int getTsId() {
        return tsId;
    }

    public void setTsId(int tsId) {
        this.tsId = tsId;
    }

    @Basic
    @Column(name = "ts_zhuti")
    public String getTsZhuti() {
        return tsZhuti;
    }

    public void setTsZhuti(String tsZhuti) {
        this.tsZhuti = tsZhuti;
    }

    @Basic
    @Column(name = "ts_jiedairen")
    public String getTsJiedairen() {
        return tsJiedairen;
    }

    public void setTsJiedairen(String tsJiedairen) {
        this.tsJiedairen = tsJiedairen;
    }

    @Basic
    @Column(name = "ts_fenglei")
    public String getTsFenglei() {
        return tsFenglei;
    }

    public void setTsFenglei(String tsFenglei) {
        this.tsFenglei = tsFenglei;
    }

    @Basic
    @Column(name = "ts_miaosu")
    public String getTsMiaosu() {
        return tsMiaosu;
    }

    public void setTsMiaosu(String tsMiaosu) {
        this.tsMiaosu = tsMiaosu;
    }

    @Basic
    @Column(name = "ts_riqi")
    public Date getTsRiqi() {
        return tsRiqi;
    }

    public void setTsRiqi(Date tsRiqi) {
        this.tsRiqi = tsRiqi;
    }

    @Basic
    @Column(name = "ts_huafeitime")
    public String getTsHuafeitime() {
        return tsHuafeitime;
    }

    public void setTsHuafeitime(String tsHuafeitime) {
        this.tsHuafeitime = tsHuafeitime;
    }

    @Basic
    @Column(name = "ts_jinjichendu")
    public String getTsJinjichendu() {
        return tsJinjichendu;
    }

    public void setTsJinjichendu(String tsJinjichendu) {
        this.tsJinjichendu = tsJinjichendu;
    }

    @Basic
    @Column(name = "ts_fankui")
    public String getTsFankui() {
        return tsFankui;
    }

    public void setTsFankui(String tsFankui) {
        this.tsFankui = tsFankui;
    }

    @Basic
    @Column(name = "ts_ren")
    public String getTsRen() {
        return tsRen;
    }

    public void setTsRen(String tsRen) {
        this.tsRen = tsRen;
    }

    @Basic
    @Column(name = "ts_chulijieguo")
    public String getTsChulijieguo() {
        return tsChulijieguo;
    }

    public void setTsChulijieguo(String tsChulijieguo) {
        this.tsChulijieguo = tsChulijieguo;
    }

    @Basic
    @Column(name = "ts_chuliguocheng")
    public String getTsChuliguocheng() {
        return tsChuliguocheng;
    }

    public void setTsChuliguocheng(String tsChuliguocheng) {
        this.tsChuliguocheng = tsChuliguocheng;
    }

    @Basic
    @Column(name = "ts_beizhu")
    public String getTsBeizhu() {
        return tsBeizhu;
    }

    public void setTsBeizhu(String tsBeizhu) {
        this.tsBeizhu = tsBeizhu;
    }

    @Basic
    @Column(name = "ts_zt")
    public int getTsZt() {
        return tsZt;
    }
    public void setTsZt(int tsZt) {
        this.tsZt = tsZt;
    }


}
